!lm12
!rm75
Some Patches for the S-C Macro Assembler....Bob Sander-Cederlof

1.  Loading the Language Card version:  When you type "EXEC LOAD LCASM", the language card is loaded with a copy of the monitor from the Apple mother board, and with the file S-C.ASM.MACRO.LC.  The EXEC file also makes a small modification to the memory image depending on which language you have on the mother board.

If you have serial number M-5275 or earlier, the EXEC file does not do the final step of turning on the Assembler.  I expected you to type the DOS command "INT" (if Applesoft is on the mother board) or "FP" (if Integer BASIC is on the mother board) to enter the Assembler.

You can make a minor change to the EXEC file to make it automatically turn on the assembler after loading.  The next to the last line of the EXEC file is now "C082"; change it to "C080" for automatic turn-on.

Here is a step-by-step procedure for the change.  Try it on a COPY of the master disk, in case you make a mistake.

!lm17
1.  Get into the S-C Macro Assembler, either regular of language card version, it doesn't matter which).

2.  Type "AUTO".  The Assembler will print ":1000 " and wait for input.

3.  Type five (5) backspaces (left arrow) to position the cursor right after the prompt.

4.  Type "EXEC LOAD LCASM", and the Assembler will load the EXEC file into memory.  You will see a list of line numbers on the screen.

5.  Type five backspaces and the word "MANUAL" to turn off the auto-line-number mode.

6.  LIST the lines (type "LIST").

7.  See line 1090?  It should be "C082".  Type "1090 C080" to change it.

8.  Type "TEXT LOAD LCASM" to save the modified version.

9.  That's all there is to it!
!lm12

By the way, Bob Potts (from the Bank Of Louisville) was here last week.  He brought along a Corvus 5-meg drive, so we put the Language Card version of the Assembler on it.  For some reason which we can't explain, the EXEC file hangs up after the BLOAD (but only if the language card has not been loaded since power up).  We changed the EXEC file slightly, and it always worked.  Instead of doing the BLOAD while in the monitor, we did it from Applesoft.  Here is the new version of the file:
!lm17

REM LOAD S-C MACRO ASSEMBLER
REM INTO THE LANGUAGE CARD
CALL-151
C081 C081
F800<F800.FFFFM
BLOAD S-C.ASM.MACRO.LC
300:A9 4C CD 00 E0 F0 12 8D 00 E0 A9 00 8D 01 E0 A9 D0 8D 02 E0 A9 CB 8D D1 03 60
300G
C080
3D3G
!lm12

You may also want to change the HELLO file to include an option to EXEC LOAD LCASM automatically.

2.  If you have a Language Card, and your Assembler has a serial number of about M-5030 or earlier, the memory limits are not set up properly in all cases.

Check your copy of S-C.ASM.MACRO.LC by loading it into the language card and typing "$D2C6" from inside the assembler.  If you don't have $A0 there, then you need to install this patch:
!lm17

1.  Type in these monitor commands:

    :$D2C6:A0 0C
    :$D2C8:20 1E D3 A9 00 91 58 85
    :$D2D0:D9 AD 00 E0 C9 4C F0 08

2.  Type "BSAVE S-C.ASM.MACRO.LC,A$D000,L$231F".
!lm12

3.  If you have serial number M-5287 or earlier, a more difficult to apply patch is needed to correct a problem in printing the symbol table.  If you are using the .TI directive, and if you have several lines of local labels in the symbol table listing, and if the page break comes between two such lines, the listing is messed up in a disastrous way.

To fix the S-C.ASM.MACRO, do the following (very carefully):
!lm17

1.  Get into the assembler by typing "BRUN S-C.ASM.MACRO".

2.  Type the following monitor commands:
    :$2AF<26AF.26D5M
    :$26B1<2AF.2D5M
    :$26AF:84 2F
    :$26C1:CA

3.  Type "BSAVE S-C.ASM.MACRO,A$1000,L$21D3"
!lm12

To repair the language card version, do the following:
!lm17

1.  EXEC LOAD LCASM, and get into the assembler by typing INT (unless you already made the change to the EXEC file noted above).

2.  Type the following monitor commands:
    :$C083 C083
    :$2AF<E7FB.E821M
    :$E7FD<2AF.2D5M
    :$E7FB:84 2F
    :$E80D:16

3.  Type "BSAVE S-C.ASM.MACRO.LC,A$D000,L$231F"
!lm12

If these patches and my instructions seem too difficult, you can send me $2.50 and your S-C Macro Assembler diskette; I will update it with the new HELLO program, the new LOAD LCASM file, and the patched copies of the assembler.
